package com.wing.wcabinet.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.wcabinet.model.entity.WcabCellInventoryInout;
import com.wing.wcabinet.model.request.WcabCellInventoryInoutForm;
import com.wing.wcabinet.model.response.WcabCellInventoryInoutVO;

import java.util.List;
import java.util.Map;

/**
 * 售刀柜上货(上货主表无展示)/领取-Service
 *
 * @author
 */
public interface WcabCellInventoryInoutService extends IService<WcabCellInventoryInout> {

    /**
     * 添加
     *
     * @param wcabCellInventoryInoutForm
     * @return
     */
    int add(WcabCellInventoryInoutForm wcabCellInventoryInoutForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<WcabCellInventoryInoutVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<WcabCellInventoryInoutVO> pageList4app(Page page, Map<String, Object> params);

    Page<WcabCellInventoryInoutVO> pageList(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    WcabCellInventoryInoutVO get4appById(Long id);

    Page<WcabCellInventoryInoutVO> exhibitRecordList(Page page, Map<String, Object> params);

    Page<WcabCellInventoryInoutVO> getWCabCellInventoryInoutBySkuCodeList(Page pg, Map<String, Object> params);
}
